package xing.design.pattern.behavioral.Memento.sample3_andCommandPattern.editor;

import xing.design.pattern.behavioral.Memento.sample3_andCommandPattern.editor.command.edit.EditCommand;
import xing.design.pattern.behavioral.Memento.sample3_andCommandPattern.editor.memento.Memento;

/**
 * @author xing
 * @date 2023/2/10 15:29:42
 */
public class Pair {
    private EditCommand c;
    private Memento m;

    public Pair(EditCommand c, Memento m) {
        this.c = c;
        this.m = m;
    }

    public EditCommand getC() {
        return c;
    }

    public void setC(EditCommand c) {
        this.c = c;
    }

    public Memento getM() {
        return m;
    }

    public void setM(Memento m) {
        this.m = m;
    }
}
